cmake_minimum_required(VERSION 3.5)
project(ch3)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}  -w  -O0 -march=native -g -std=c++11")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w   -O0 -march=native -g -std=c++11")

set(CMAKE_BUILD_TYPE "Release")

find_package(Eigen3 REQUIRED)

add_library(${PROJECT_NAME} SHARED
    se2.cpp
)

add_executable(main main.cpp)
target_link_libraries(main ${PROJECT_NAME})
